package com.xiaoxiong.mami.dao.mapperImpl;

import com.xiaoxiong.mami.dao.daomain.OrderGoods;
import org.apache.ibatis.annotations.*;

import java.util.List;

/**
 * Created by Administrator on 2017/8/12.
 */
@Mapper
public interface OrderGoodsMapperImpl {

    @InsertProvider(type = InsertListImpl.class, method = "insertOrderGoodsList")
    public int insertOrderGoods(@Param("list") List<OrderGoods> orderGoodsList);


    @Select("select * from order_goods where orderid =#{orderid} order by createTime asc")
    public  List<OrderGoods>  getGoodsByOrderIds(String orderid);




}
